import layout from '@/layout'
export default   {
  path: '/problemPage',
  name: 'problemPage',
  component: layout,
  redirect: '/problemRegister',
  meta: {
    title: '隐患排查',
    icon: 'activeProblemRegister',
    activeIcon: 'activeProblemRegister',
    // activeIcon: 'problemRegister'
  },
  children: [
    {
      path: '/problemRegister',
      name: 'problemRegister',
      component: () => import('@/views/problemPage/problemRegister.vue'),
      meta: { title: '隐患登记', icon: 'svg-16' }
    },

    {
      path: '/problemChange',
      name: 'problemChange',
      component: () => import('@/views/problemPage/problemChange.vue'),
      meta: { title: '隐患整改', icon: 'svg-16' }
    },
    {
      path: '/problemCheck',
      name: 'problemCheck',
      component: () => import('@/views/problemPage/problemCheck.vue'),
      meta: { title: '隐患验收', icon: 'svg-16' }
    }
  ]
}
